type IFormType = 'input' | 'password' | 'select' | 'datepicker' | 'button'

export interface IFormItem {
  field: string
  type: IFormType
  label: string
  placeholder?: string
  rules?: any
  //针对select表单
  options?: any[]
  // 针对特殊的表单属性
  otherOptions?: any
  // 针对button按钮
  btnType?: string
  isHidden?: boolean
}

export interface IForm {
  formItems: IFormItem[]
  labelWidth?: string
  colLayout?: any
  itemLayout?: any
  title?: string
}
